/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: dings
 * Date: 2024-04-25
 * Time: 15:00
 */
public class Test {
    public static void main(String[] args) {
        try {
            System.out.println("11");
            int[] arr = {1,2,3,4,5};
            System.out.println(arr[100]);
        }catch (ArrayIndexOutOfBoundsException | NullPointerException | ArithmeticException e) {
            e.printStackTrace();
            System.out.println("异常");
        }
        System.out.println("执行后续代码");
    }
}
